package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
@ToString
public class BusinessQueryObject extends QueryObject {
    private String name;

    private String scope;

    private String tel;

    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startOpenDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endOpenDate;
    private String legalName;
}
